package net.lijingye.education.service;

import net.lijingye.education.entity.Course;
import net.lijingye.education.entity.Source;
import net.lijingye.education.entity.Topic;
import net.lijingye.education.exception.DaoException;
import net.lijingye.education.exception.ObjectNotExistsException;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by LijingYe on 2016/4/3.
 */
@Service
public interface CourseService {
    Course getCourseById(String courseId) throws DaoException, ObjectNotExistsException;

    List<Source> getCourseBookListById(String courseId) throws DaoException, ObjectNotExistsException;

    List<Source> getCourseExamListById(String courseId) throws DaoException, ObjectNotExistsException;

    List<Source> getCourseInterviewListById(String courseId) throws DaoException, ObjectNotExistsException;

    List<Topic> getCourseDifficultyListById(String courseId) throws DaoException, ObjectNotExistsException;

    List<Topic> getCourseExpansionListById(String courseId) throws DaoException, ObjectNotExistsException;
}
